package com.coc.service.system;

import com.baomidou.mybatisplus.extension.service.IService;
import com.coc.entity.core.JsonResult;
import com.coc.entity.system.SysPermission;

import java.util.List;

/**
 * 权限表(SysPermission)表服务接口
 *
 * @author songju
 * @since 2020-02-10 19:12:17
 */
public interface SysPermissionService extends IService<SysPermission> {
    List<SysPermission>  selectListByUser(Integer id);
    List<SysPermission>  selectListByPath(String requestUrl);
    List<SysPermission> getPermitById();

    JsonResult addPermit(String json);
}